<div data-lift="SessionSnippet.signUp">
  <form class="form" data-lift="form.ajax?class=form">
    <div class="form-group" id="sign-up-control-id">
      <label>用户名</label>
      <input type="text" name="account" class="form-control input-lg" placeholder="账户名" autofocus=""/>
      <span class="help-block"></span>
    </div>
    <div class="form-group" id="sign-up-control-email">
      <label>邮箱</label>
      <input type="text" name="email" class="form-control input-lg" placeholder="邮箱"/>
      <span class="help-block"></span>
    </div>
    <div class="form-group" id="sign-up-control-pwd">
      <label>密码</label>
      <input type="password" name="password" class="form-control input-lg" placeholder="创建您的密码"/>

      <p class="text-muted">
        <small>密码最少需要6个字符</small>
      </p>
      <span class="help-block"></span>
    </div>
    <div class="form-group" style="display: none;" id="sign-up-control-pwd2">
      <label>重复密码</label>
      <input type="password" name="password2" class="form-control input-lg" placeholder="重复密码"/>

      <p class="text-muted">
        <small>重复密码</small>
      </p>
      <span class="help-block"></span>
    </div>
    <div class="form-group" id="sign-up-control-submit">
      <button class="btn btn-success btn-lg btn-block" type="submit">注册 yangbajing.me</button>
      <input type="hidden" name="submit"/>

      <p class="text-muted">
        <small>
          通过点击“注册 yangbajing.me”，你将同意我们的
          <a href="/h/terms" target="_blank">服务条款</a> 和
          <a href="/h/privacy" target="_blank">隐私政策</a>。
        </small>
      </p>
      <span class="help-block"></span>
    </div>
  </form>
</div>
